package com.guli.demo.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

/**
 * @ClassName: DemoData 
 * @Description: TODO
 * @author: liuzg
 * @Date: 2021/3/5 13:57
 * @Version: v1.0
 */
@Data
public class DemoData {

    // 设置excel表头名称
    @ExcelProperty(value = "学生编号",index = 0)
    private Integer sno;
    @ExcelProperty(value = "学生姓名",index = 1)
    private String sname;

}
